package com.typy.www.tpay.bean.bean;

import org.json.JSONObject;

/**
 * Created by 13799 on 2018/6/15.
 */

public class BaseReturnboot {
    /**
     * 成功标志
     */
     private boolean success = true;

    /**
     * 返回处理消息
     */
     private String message = "操作成功！";

    /**
     * 返回代码
     */
     private Integer code = 0;

    /**
     * 返回数据对象 data
     */
     private String result;

    /**
     * 时间戳
     */
     private long timestamp = System.currentTimeMillis();

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }
}
